<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>

    <script type="text/javascript">
        CONST = new Object();
        CONST.BASE_URL = '<?php echo $this->baseUrl ?>';
        CONST.PHOTO_ORIGIN_URL = '<?php echo PhotoUtility::getUrl() ?>';
        CONST.THUMBNAIL_80X80_URL = '<?php echo ThumbnailUtility::getUrl(80, 80) ?>';
        CONST.THUMBNAIL_250X250_URL = '<?php echo ThumbnailUtility::getUrl(250, 250) ?>';
    </script>

    <script type="text/javascript">
        var PHP_PARAMS = new Object();
    </script>
</head>

<body>
    <div id="main_header">
        <?php $this->widget('application.widgets.HeaderWidget') ?>
    </div>
    
    <div id="main_content">
        <?php echo $content; ?>
    </div>
    
    <div id="main_like">
        <?php $this->widget('application.widgets.LikeWidget') ?>
    </div>

    <div id="main_footer">
        <?php $this->widget('application.widgets.FooterWidget') ?>
    </div>
</body>
</html>
